package com.daiziru.wuyanmall.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@ApiModel(value="ResultVO对象", description = "封装接口返回给前端的数据")
public class ResultVO {
    @ApiModelProperty(value = "响应的状态码", dataType = "int")
    private int code;//响应给前端的状态码
    @ApiModelProperty(value = "响应的提示信息")
    private String msg;//响应给前端的提示信息
    @ApiModelProperty(value = "响应给前端的数据")
    private Object data;//响应给前端的数据
}
